package com.syl.dao;

import com.syl.entity.User;

import java.sql.SQLException;
import java.util.List;

public interface UserDao {

    User login(String username,String pwd) throws ClassNotFoundException, SQLException;

    User checkUser(String username);

    boolean register(User user);




    List<User> getAllUser();

    boolean delectUser(int id);
}
